#ifndef __MAIN_H
#define __MAIN_H

#include "../Login_Operations/login.h"
#include "rootuser.h"
#include "normaluser.h"
#include "menu.h"
#include "utils.h"
#include "../Login_Operations/login_mannager.h"
#include "../Student_Operations/student_mannager.h"
#include "../Subject_Operations/subject_mannager.h"

std::string username, command;
Login *_log;
Menu menu;
Rootuser *_rootuser;
Normaluser *_normaluser;

std::fstream log_file;
int login_status;
void init();
void Process();
void tryLogin();
void rootLogin_info();
void rootStudent_info();
void rootSubject_info();

void normalChangePassword();
void normalSelectSubjects();
void normalDropSubjects();

#endif
